package com.ruoyi.keep.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 次数卡规格对象 number_card
 * 
 * @author ruoyi
 * @date 2024-08-13
 */
public class NumberCard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private Long id;

    /** 次数 */
    @Excel(name = "次数")
    private Integer number;

    /** 现价 */
    @Excel(name = "现价")
    private Double nowPrice;

    /** 原价 */
    @Excel(name = "原价")
    private Double beforePrice;

    /** 逻辑删除 */
    private Integer del;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNumber(Integer number) 
    {
        this.number = number;
    }

    public Integer getNumber() 
    {
        return number;
    }
    public void setNowPrice(Double nowPrice) 
    {
        this.nowPrice = nowPrice;
    }

    public Double getNowPrice() 
    {
        return nowPrice;
    }
    public void setBeforePrice(Double beforePrice) 
    {
        this.beforePrice = beforePrice;
    }

    public Double getBeforePrice() 
    {
        return beforePrice;
    }
    public void setDel(Integer del) 
    {
        this.del = del;
    }

    public Integer getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("number", getNumber())
            .append("nowPrice", getNowPrice())
            .append("beforePrice", getBeforePrice())
            .append("del", getDel())
            .toString();
    }
}
